#include <stdio.h>
struct data
{
    int year;
    int month;
    int day;
};
int judgeyear(int year)
{
    if((year%4==0 &&year%100!=0)||year%400==0)
    return 29;
    else 
    return 28; 
}

int dayday[13]={0,31,29,31,30,31,30,31,31,30,31,30,31};
int main(void)
{
    int dijitian=0;
    struct data x={2025,7,11};
    int tianshu=judgeyear(2017);
    if(tianshu==28)
        dayday[2]=28;
    if(tianshu==29)
        dayday[2]=29;
    for(int i=0;i<x.month;i++)
    {
        dijitian+=dayday[i];
    }
    dijitian+=x.day;
    printf("这是一年中的第%d天\n",dijitian);
    return 0;
}